package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor

@TableName(value = "sys_role")
public class SysRole {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("role_name")
    private String roleName;
    @TableField("role_type")
    private String roleType;
    @TableField("remark")
    private  String remark;
    @TableField("create_time")
    private String createTime;
    @TableField("update_time")
    private String updateTime;
}
